﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyRaceGame.GameLogic
{
    public class RandomHelper
    {
        public static float RandomBetween(float minimum, float maximum)
        {
            return minimum + (float)random.NextDouble() * (maximum - minimum);
        }
        
        public static Random Random
        {
            get { return random; }
        }

        static Random random = new Random();
    }
}
